public class app {
    public static void main(String[] args) {
        GameTimer gameTimer = new GameTimer();
        LifeGame lifeGame = new LifeGame();
        GameMap gameMap = new GameMap();
        GameGUI gameGUI = new GameGUI();

        gameGUI.init(gameTimer, gameMap);
        gameMap.init(gameGUI.getRows(), gameGUI.getCols());
        lifeGame.init(gameMap);
        gameTimer.init(lifeGame, gameGUI);
    }
}